#ifndef __OLED_DISPLAY_H__
#define __OLED_DISPLAY_H__

#include <stdint.h>

// OLED显示相关函数声明
void oled_display_init(void);
void oled_display_car_status(unsigned char car_status, unsigned char speed_level);
void oled_display_speed_bar(unsigned char speed_level);
void oled_display_welcome(void);
void oled_display_speed_change(unsigned char old_speed, unsigned char new_speed);
void oled_display_mode_change(unsigned char new_mode);

// 显示区域定义
#define OLED_TITLE_Y        0
#define OLED_MODE_Y         15
#define OLED_SPEED_Y        30
#define OLED_BAR_Y          45

// 速度条显示参数
#define SPEED_BAR_X         50
#define SPEED_BAR_WIDTH     10
#define SPEED_BAR_HEIGHT    8
#define SPEED_BAR_SPACING   2
#define SPEED_BAR_COUNT     5

#endif // __OLED_DISPLAY_H__
